package com.yeyks.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * account_info
 * @author 
 */
public class AppAccountInfo implements Serializable {
    private Integer id;

    private Date gmtCreate;

    private Date gmtModified;

    /**
     * 父ID
     */
    private Integer parentId;

    /**
     * 老大ID
     */
    private Integer managerId;

    /**
     * 账户区域
     */
    private String area;

    private String phone;

    /**
     * 固定电话
     */
    private String tel;

    /**
     * 用于账户登陆的账户名
     */
    private String username;

    /**
     * 真实姓名
     */
    private String name;

    /**
     * 妮称
     */
    private String nickname;

    private String password;

    /**
     * 性别
     */
    private Boolean gender;

    /**
     * 账户是否有效 1有效 0无效
     */
    private Boolean valid;

    /**
     * 当前账户状态
     */
    private Integer status;

    /**
     * 账户的类型，1总公司，2省级代理，3市代理，4酒店运营商，5酒店，6用户
     */
    private Integer type;

    /**
     * 电子邮箱
     */
    private String email;

    /**
     * 账户卡号信息
     * {"pay_accounts":{"bankCard":"213123123","bankName":"中国工商银行","userName":"12321"}}
     */
    private String extraInfo;

    /**
     * 签约酒店数
     */
    private Integer grandchildrenCount;

    /**
     * 省的code码
     */
    private String provinceCode;

    /**
     * 市的code码
     */
    private String cityCode;

    /**
     * 区/县的code码
     */
    private String countryCode;

    /**
     * 部门Id
     */
    private Integer deptId;

    /**
     * 床垫订单佣金比例(万分比)
     */
    private Integer mattressRate;

    /**
     * c2b订单佣金比例(万分比)
     */
    private Integer c2bRate;

    /**
     * 旧密码
     */
    private String oldPassword;


    public Integer getManagerId() {
        return managerId;
    }

    public void setManagerId(Integer managerId) {
        this.managerId = managerId;
    }

    public String getProvinceCode() {
        return provinceCode;
    }

    public void setProvinceCode(String provinceCode) {
        this.provinceCode = provinceCode;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getCountryCode() {
        return countryCode;
    }

    public void setCountryCode(String countryCode) {
        this.countryCode = countryCode;
    }

    public Integer getGrandchildrenCount() {
        return grandchildrenCount;
    }

    public void setGrandchildrenCount(Integer grandchildrenCount) {
        this.grandchildrenCount = grandchildrenCount;
    }

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Boolean getGender() {
        return gender;
    }

    public void setGender(Boolean gender) {
        this.gender = gender;
    }

    public Boolean getValid() {
        return valid;
    }

    public void setValid(Boolean valid) {
        this.valid = valid;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getExtraInfo() {
        return extraInfo;
    }

    public void setExtraInfo(String extraInfo) {
        this.extraInfo = extraInfo;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public Integer getMattressRate() {
        return mattressRate;
    }

    public void setMattressRate(Integer mattressRate) {
        this.mattressRate = mattressRate;
    }

    public Integer getC2bRate() {
        return c2bRate;
    }

    public void setC2bRate(Integer c2bRate) {
        this.c2bRate = c2bRate;
    }

    public String getOldPassword() {
        return oldPassword;
    }

    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }

    @Override
    public String toString() {
        return "AppAccountInfo{" +
                "id=" + id +
                ", gmtCreate=" + gmtCreate +
                ", gmtModified=" + gmtModified +
                ", parentId=" + parentId +
                ", managerId=" + managerId +
                ", area='" + area + '\'' +
                ", phone='" + phone + '\'' +
                ", tel='" + tel + '\'' +
                ", username='" + username + '\'' +
                ", name='" + name + '\'' +
                ", nickname='" + nickname + '\'' +
                ", password='" + password + '\'' +
                ", gender=" + gender +
                ", valid=" + valid +
                ", status=" + status +
                ", type=" + type +
                ", email='" + email + '\'' +
                ", extraInfo='" + extraInfo + '\'' +
                ", grandchildrenCount=" + grandchildrenCount +
                ", provinceCode='" + provinceCode + '\'' +
                ", cityCode='" + cityCode + '\'' +
                ", countryCode='" + countryCode + '\'' +
                ", deptId=" + deptId +
                ", mattressRate=" + mattressRate +
                ", c2bRate=" + c2bRate +
                ", oldPassword='" + oldPassword + '\'' +
                '}';
    }
}